<?php

return array(
	"php" => 5,
	"name" => "Тернарная операция",
	"tests" => array(
		"if" => array(
			"code" => 'if($i%2) $a = 5;'."\n".'else $a = 6;',
			"i" => 1000,
			"desc" => "Условие if-else",
		),
		"triar" => array(
			"code" => '$a = ($i%2) ? 5 : 6;',
			"i" => 1000,
			"desc" => "Тринарная операция ( x ? y : z)",
		)
	)
);

?>
